// Lang_32 [default constructor calls].nova // The application class. class DefaultConstructorCallsApp { // Application class's "main" function. public static void main( String[] args ) { C c = new C( ); Stream.writeLine( Integer.toString( c.a ) ); Stream.writeLine( Integer.toString( c.b ) ); Stream.writeLine( Integer.toString( c.c ) ); } } class A { public int a; public A( ) { Stream.writeLine( "A.A( ) - called." ); this.a = 111; } } class B : A { public int b; public B( ) { Stream.writeLine( "B.B( ) - called." ); this.b = 222; } } class C : B { public int c; public C( ) { Stream.writeLine( "C.C( ) - called." ); this.c = 333; } }